package com.gs.netty.server;

import com.gs.netty.support.properties.BaseNettyConfig;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix ="websocket.server.config")
public class NettyServerConfig extends BaseNettyConfig {


    /**
     * 端口号
     */
    private int port;
    /**
     * webSocket 路径
     */
    private String webSocketPath = "/websocket";




    /**
     * 服务权重
     */
    public int  weight =1;



}
